//
//  TopTabView.h
//  iBaby365v2
//
//  Created by Kirinrin on 14-7-4.
//  Copyright (c) 2014年 suplus. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol TopTabDelegate;

@interface TopTabView : UIView
@property (strong, nonatomic) NSArray *tabTitles;
@property (nonatomic)NSUInteger selectedIndex;
@property (nonatomic, weak)id<TopTabDelegate>delegate;
@end

@protocol TopTabDelegate <NSObject>
@optional
- (BOOL)TopTabView:(TopTabView *)tabBarController shouldSelectAtIndex:(NSUInteger)index;
- (void)TopTabView:(TopTabView *)tabBarController didSelectIndex:(NSUInteger)index;
@end
